//Transports will grab the nearest land units based on strategic range or if range= is specified
//It will walk those units to the closest port to embark
//The fleet will grab an escorts along the way as needed to get to the destination port
//continous transport missions will try each turn to grab units and send them

//Italy - Transport Unit to Sardinia
$Transport
if_Date=6/1/1939
lifespan=tillTrigger
actionCountry=7
landAssets=1
range=5
xyArea=153,33
xyArea=152,42
$End

//Germany - Transport Units to England if invasion successful
$Transport
if_Date=6/1/1939
if_Country=2
if_Surrender=true
//If Axis take South Hampton
xyControl=134,57,Axis
lifespan=tillTrigger
actionCountry=6
landAssets=3
hqAsset
range=10
xyArea=134,57
xyArea=129,51
$End

//Germany - Transport Units to England if invasion successful
$Transport
if_Date=6/1/1939
if_Country=2
if_Surrender=true
//If Axis take Worthing
xyControl=134,57,Axis
lifespan=tillTrigger
actionCountry=6
landAssets=3
hqAsset
range=10
xyArea=136,57
xyArea=129,51
$End

//UK moves units to Algeria if it seems Germany is going for conquest
$Transport
if_Date=1/1/1939
//make sure UK has extra units to send
landUnitInRadius=137,59,4,3,Axis
landUnitInRadius=132,58,4,3,Axis
//if it is suspected they are going for conquest
xyControl=148,51,Axis
lifespan=tillTrigger
actionCountry=1
range=17
landAssets=2
hqAsset
xyArea=142,23
xyArea=130,49
$End

//UK leaves France once Axis get close to Paris
$Transport
if_Date=1/1/1939
landUnitInRadius=140,51,2,3,Axis
lifespan=tillTrigger
actionCountry=1
range=17
landAssets=3
hqAsset
xyArea=130,59
xyArea=133,49
$End

//UK sends aid to Franco if Spain is invaded by Axis
$Transport
if_Date=1/1/1939
if_Country=45
if_Alliance=Allies
xyControl=126,23,Allies
lifespan=tillTrigger
actionCountry=1
range=8
landAssets=6
hqAsset
xyArea=126,23
xyArea=130,59
$End

//UK reinforces Spain if the Germans take Madrid
//to protect Gibraltar
$Transport
if_Date=1/1/1939
if_Country=45
if_Alliance=Allies
xyControl=130,32,Axis
xyControl=126,23,Allies
lifespan=tillTrigger
actionCountry=1
range=8
landAssets=4
xyArea=126,23
xyArea=130,59
$End

//UK reinforce Africa so they don't get overrun
$Transport
if_Date=2/15/1940
lifespan=tillTrigger
actionCountry=1
range=20
landAssets=1
xyArea=194,11
xyArea=132,63
$End

//Italy - Transport Armor to Africa
$Transport
if_Date=9/1/1939
xyControl=172,13,Neutral
lifespan=tillTrigger
actionCountry=7
landAssets=1
xyArea=172,13
xyArea=160,39
$End

//Germany - Transport Units to Tripoli to take Tunisia, Morocco, and Algeria Plan 2
$Transport
if_Date=8/1/1940
if_Plan=2
if_Country=54
if_Surrender=true
lifespan=tillTrigger
actionCountry=6
range=8
landAssets=4
hqAsset
xyArea=160,14
xyArea=146,39
hqAsset
$End

//UK transport to North Africa
$Transport
if_Date=1/1/1942
xyControl=194,11,Allies
lifespan=tillTrigger
actionCountry=1
range=20
landAssets=1
airAssets=1
xyArea=194,11
xyArea=130,59
$End

//UK transport to North Africa
$Transport
if_Date=7/1/1942
xyControl=194,11,Allies
lifespan=tillTrigger
actionCountry=1
range=20
landAssets=1
airAssets=1
xyArea=194,11
xyArea=130,59
$End

//USA transports air to North Africa
$Transport
if_Date=6/1/1942
if_Country=3
if_Alliance=Allies
xyControl=142,23,Allies
lifespan=tillTrigger
actionCountry=3
range=30
airAssets=6
xyArea=142,23
xyArea=8,24
$End


//UK transports units to Spain if they are still Allied
$Transport
if_Date=1/1/1942
if_Country=1
if_Alliance=Allies
//Cadiz
xyControl=126,23,Allies
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=3
airAssets=3
hqAsset
xyArea=126,23
xyArea=8,24
$End


//USA transports units to Spain if they are still Allied
$Transport
if_Date=1/1/1942
if_Country=3
if_Alliance=Allies
//Cadiz
xyControl=126,23,Allies
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=6
airAssets=6
xyArea=126,23
xyArea=8,24
$End

//USA transports armies North Africa if they are having trouble taking Tunisia
$Transport
if_Date=11/1/1942
if_Country=3
if_Alliance=Allies
xyControl=142,23,Allies
xyControl=154,23,Axis
lifespan=tillTrigger
actionCountry=3
range=50
landAssets=3
xyArea=142,23
xyArea=8,24
$End

//UK transports assets to Spain to support invasion
$Transport
if_Date=6/1/1942
//allies control Lisbon and Axis control Madrid
xyControl=121,37,Allies
xyControl=130,32,Axis
lifespan=tillTrigger
actionCountry=1
range=12
landAssets=5
airAssets=3
hqAsset
xyArea=121,37
xyArea=134,57
$End

//USA transports assets to Spain to support invasion
$Transport
if_Date=6/1/1942
if_Country=3
if_Alliance=Allies
//allies control Lisbon and Axis control Madrid
xyControl=121,37,Allies
xyControl=130,32,Axis
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=6
airAssets=6
hqAsset
xyArea=121,37
xyArea=8,24
$End

//USA transfer HQ to Sicily
$Transport
if_Date=1/1/1943
if_Country=3
if_Alliance=Allies
xyControl=160,26,Allies
lifespan=tillTrigger
actionCountry=3
range=30
hqAsset
xyArea=160,26
xyArea=154,23
$End

//UK transfer HQ to Sicily
$Transport
if_Date=1/1/1943
if_Country=1
if_Alliance=Allies
xyControl=160,26,Allies
lifespan=tillTrigger
actionCountry=1
range=50
hqAsset
xyArea=160,26
xyArea=154,23
$End

//USA Transfer units to UK
//USA land
$Transport
if_Date=11/1/1942
if_Country=3
if_Alliance=Allies
//Allies are in UK and dont own Brest
xyControl=135,68,Allies
xyControl=129,51,Axis
lifespan=continuous
actionCountry=3
range=30
landAssets=3
xyArea=135,68
xyArea=8,24
$End

//USA air
$Transport
if_Date=11/1/1942
if_Country=3
if_Alliance=Allies
xyControl=130,56,Allies
lifespan=tillTrigger
actionCountry=3
range=30
airAssets=3
xyArea=130,56
xyArea=8,24
$End

//USA Transfer units to UK
//USA land
$Transport
if_Date=12/1/1942
if_Country=3
if_Alliance=Allies
xyControl=135,68,Allies
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=3
xyArea=129,70
xyArea=8,24
$End

//USA air
$Transport
if_Date=12/1/1942
if_Country=3
if_Alliance=Allies
xyControl=132,58,Allies
lifespan=tillTrigger
actionCountry=3
range=30
airAssets=3
xyArea=132,58
xyArea=8,24
$End

//USA Transfer units to UK
//USA land
$Transport
if_Date=1/1/1943
if_Country=3
if_Alliance=Allies
xyControl=135,68,Allies
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=2
hqAsset
xyArea=132,77
xyArea=8,24
$End

//USA air
$Transport
if_Date=1/1/1943
if_Country=3
if_Alliance=Allies
xyControl=128,59,Allies
lifespan=tillTrigger
actionCountry=3
range=30
airAssets=3
xyArea=128,59
xyArea=8,24
$End

//USA Transfer units to UK
//USA land
$Transport
if_Date=3/1/1943
if_Country=3
if_Alliance=Allies
xyControl=135,68,Allies
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=3
xyArea=135,68
xyArea=8,24
$End

//USA air
$Transport
if_Date=1/1/1943
if_Country=3
if_Alliance=Allies
xyControl=128,59,Allies
lifespan=tillTrigger
actionCountry=3
range=30
airAssets=3
xyArea=128,59
xyArea=8,24
$End


//USA Transfer units to UK
//USA land
$Transport
if_Date=6/1/1943
if_Country=3
if_Alliance=Allies
xyControl=135,68,Allies
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=3
xyArea=129,70
xyArea=8,24
$End

//USA air
$Transport
if_Date=6/1/1943
if_Country=3
if_Alliance=Allies
xyControl=132,58,Allies
lifespan=tillTrigger
actionCountry=3
range=30
airAssets=3
xyArea=132,58
xyArea=8,24
$End

//USA Transfer units to UK
//USA Land
$Transport
if_Date=9/1/1943
if_Country=3
if_Alliance=Allies
xyControl=135,68,Allies
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=3
hqAsset
xyArea=127,73
xyArea=8,24
$End

//USA air
$Transport
if_Date=9/1/1943
if_Country=3
if_Alliance=Allies
xyControl=139,60,Allies
lifespan=tillTrigger
actionCountry=3
range=30
airAssets=3
hqAsset
xyArea=139,60
xyArea=8,24
$End

//USA Transfer units to UK
$Transport
if_Date=12/1/1943
if_Country=3
if_Alliance=Allies
xyControl=135,68,Allies
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=3
hqAsset
xyArea=135,68
xyArea=8,24
$End

//USA Transfer units to UK
$Transport
if_Date=12/1/1943
if_Country=3
if_Alliance=Allies
xyControl=135,68,Allies
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=3
xyArea=135,68
xyArea=8,24
$End

//USA Transfer units to UK
$Transport
if_Date=12/1/1943
if_Country=3
if_Alliance=Allies
xyControl=135,68,Allies
lifespan=tillTrigger
actionCountry=3
range=30
landAssets=3
xyArea=135,68
xyArea=8,24
$End

//Germany evacuates Norway to defend Germany
$Transport
if_Date=6/1/1944
//Allies control Warsaw
xyControl=173,60,Allies
lifespan=tillTrigger
actionCountry=6
range=7
landAssets=3
xyArea=161,63
xyArea=151,77
$End

//Germany evacuates Norway to defend Germany
$Transport
if_Date=6/1/1944
//Allies control Paris
xyControl=140,51,Allies
lifespan=tillTrigger
actionCountry=6
range=5
landAssets=3
xyArea=161,63
xyArea=162,86
$End

//USA Transfer units to Antwerp
$Transport
if_Date=6/1/1943
//Allies control Antwerp
xyControl=143,57,Allies
lifespan=continuous
actionCountry=3
range=30
landAssets=1
airAssets=1
hqAsset
xyArea=143,57
xyArea=7,21
$End

//UK Transfer units to Rotterdam
$Transport
if_Date=6/1/1943
//Allies control Rotterdam
xyControl=143,58,Allies
lifespan=continuous
actionCountry=1
range=30
landAssets=3
hqAsset
xyArea=143,58
xyArea=134,57
$End

//UK Transfer units to Amsterdamn
$Transport
if_Date=6/1/1943
//Allies control Amsterdamn
xyControl=144,60,Allies
lifespan=continuous
actionCountry=1
range=30
landAssets=3
hqAsset
xyArea=144,60
xyArea=134,57
$End

//UK Transfer units to Antwerp
$Transport
if_Date=6/1/1943
if_Country=3
if_Alliance=Allies
xyControl=143,57,Allies
lifespan=continuous
actionCountry=1
range=30
landAssets=3
hqAsset
xyArea=143,57
xyArea=134,57
$End

//USA Transfer units to France
$Transport
if_Date=6/1/1943
if_Country=3
//Allies control the 3 Western ports in France
xyControl=129,51,Allies
xyControl=133,49,Allies
xyControl=134,54,Allies
if_Alliance=Allies
lifespan=continuous
actionCountry=3
range=30
landAssets=3
airAssets=2
hqAsset
xyArea=129,51
xyArea=134,57
$End

//UK Transfer units to France
$Transport
if_Date=6/1/1944
if_Country=3
if_Alliance=Allies
xyControl=129,51,Allies
xyControl=133,49,Allies
xyControl=134,54,Allies
lifespan=continuous
actionCountry=1
range=30
landAssets=3
hqAsset
xyArea=130,50
xyArea=134,57
$End

//USA Transfer units to France
$Transport
if_Date=6/1/1943
if_Country=3
//Allies control the 3 Western ports in France
xyControl=129,51,Allies
xyControl=133,49,Allies
xyControl=134,54,Allies
if_Alliance=Allies
lifespan=continuous
actionCountry=3
range=30
landAssets=1
airAssets=1
hqAsset
xyArea=129,51
xyArea=7,21
$End

//Canada Transfer units to UK
$Transport
if_Date=1/1/1939
lifespan=tillTrigger
actionCountry=15
range=30
landAssets=1
hqAsset
xyArea=132,63
xyArea=14,40
$End

//Canada Transfer units to Egypt
$Transport
if_Date=4/1/1940
lifespan=tillTrigger
actionCountry=15
range=30
landAssets=1
hqAsset
xyArea=193,10
xyArea=14,40
$End

//Canada Transfer units to UK
$Transport
if_Date=1/1/1941
lifespan=tillTrigger
actionCountry=15
range=30
landAssets=2
hqAsset
xyArea=132,63
xyArea=14,40
$End

//Canada Transfer units to UK
$Transport
if_Date=1/1/1942
lifespan=tillTrigger
actionCountry=15
range=30
landAssets=2
hqAsset
xyArea=132,63
xyArea=14,40
$End

//Canada Transfer units to France
$Transport
if_Date=6/1/1943
if_Country=3
//Allies control the 3 Western ports in France
xyControl=129,51,Allies
xyControl=133,49,Allies
xyControl=134,54,Allies
if_Alliance=Allies
lifespan=continuous
actionCountry=15
range=30
landAssets=2
airAssets=2
hqAsset
xyArea=129,51
xyArea=14,40
$End

//Canada Transfer units to France
$Transport
if_Date=6/1/1943
if_Country=3
//Allies control the 3 Western ports in France
xyControl=129,51,Allies
xyControl=133,49,Allies
xyControl=134,54,Allies
if_Alliance=Allies
lifespan=continuous
actionCountry=15
range=30
landAssets=2
airAssets=2
hqAsset
xyArea=129,51
xyArea=134,57
$End

//Germany Transfers units out of Finland
$Transport
if_Date=5/1/1944
lifespan=tillTrigger
actionCountry=6
range=8
landAssets=2
hqAsset
xyArea=161,63
xyArea=180,85
$End